-
Notifications
You must be signed in to change notification settings - Fork 2.1k
test: add integration test for instrumented Firecracker binary #5497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add integration test for instrumented Firecracker binary #5497
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5497 +/- ##
=======================================
Coverage 82.83% 82.83%
=======================================
Files 269 269
Lines 27723 27723
=======================================
Hits 22965 22965
Misses 4758 4758
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
7aca9f2 to
c075816
Compare
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
tests/integration_tests/functional/test_instrumented_firecracker.py
Outdated
Show resolved
Hide resolved
c075816 to
0f0e9e7
Compare
Adds a new integration test that verifies Firecracker can be built and run with `log_instrument` tracing instrumentation\ enabled. Signed-off-by: DontPanicO <[email protected]>
0f0e9e7 to
4b40a80
Compare
kalyazin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Let me find someone else to have another look.
|
@DontPanicO thanks again for your contribution! |
|
@kalyazin Thanks for the guidance, looking forward to contributing more |
Changes
Adds a new integration test that verifies Firecracker can be built and run with
log_instrumenttracing instrumentation enabled.Reason
Fixes #4215
As discussed in #4215 (comment) the goal is to validate Firecracker when instrumented specifically with the
log-instrumentcrate from the current workspace, rather than any generic tracing tool.This implementation takes inspiration from #5256, adapting it to work with
log-instrument.License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.PR Checklist
tools/devtool checkbuild --allto verify that the PR passesbuild checks on all supported architectures.
tools/devtool checkstyleto verify that the PR passes theautomated style checks.
how they are solving the problem in a clear and encompassing way.
in the PR.
CHANGELOG.md.Runbook for Firecracker API changes.
integration tests.
TODO.rust-vmm.